package com.fymxy.question_bank_management.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fymxy.question_bank_management.pojo.ExamnateWithBLOBs;
import com.fymxy.question_bank_management.pojo.StudentExamnate;

public interface ExamnateService {
    int insert(ExamnateWithBLOBs record);
    int update(ExamnateWithBLOBs record);
    IPage<StudentExamnate> selectAllExamnate(Page page);
    IPage<StudentExamnate> selectExamnateByStudent(Page page,Integer studentId);
    IPage<StudentExamnate> selectExamnateByTeacher(Page page,Integer teacherId);
    ExamnateWithBLOBs selectAnswerByStudentNoAndPaperNo(Integer studentNo,Integer paperNo);
}
